import time
class Customer():
    def __init__(self, driver):
        self.driver = driver

    def customer_click(self):
        # self.driver.find_element_by_link_text("登录").click()
        # time.sleep(2)
        time.sleep(5)
        cust = self.driver.find_element_by_xpath('/html/body/div/section/header/div/div/div/a[2]/div')
        cust.click()
        time.sleep(5)